﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Main.Master" Inherits="System.Web.Mvc.ViewPage<Defect_Tracking_System.Models.ProjectModel>" %>
<%@ Import Namespace="Helpers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	AddProject
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="page-heading"><h1>Add Project</h1></div>
    
    <table border="0" cellpadding="0" cellspacing="0" id="content-table" width="100%">
    <tr>
        <th rowspan="3" class="sized"><img src="/Content/images/shared/side_shadowleft.jpg" width="20" height="300" alt="" /></th>
        <th class="topleft"></th>
        <td id="tbl-border-top">&nbsp;</td>
        <th class="topright"></th>
        <th rowspan="3" class="sized"><img src="/Content/images/shared/side_shadowright.jpg" width="20" height="300" alt="" /></th>
    </tr>
    <tr>
        <td id="tbl-border-left"></td>
        <td>
            
            <!--  start content-table-inner -->
            <div id="content-table-inner">
            
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr valign="top">
                    <td>
                    <% using (Html.BeginForm()) { %>
                        <% if (ViewData["message"] != null)
                           {%>
                            <div id="message-yellow">
				            <table border="0" width="100%" cellpadding="0" cellspacing="0">
				            <tr>
					            <td class="yellow-left"><%: ViewData["message"] %></td>
					            <td class="yellow-right"><a class="close-yellow"><img src="/Content/images/table/icon_close_yellow.gif" alt=""></a></td>
				            </tr>
				            </table>
				            </div>
                        <% } %>
                        <!-- start id-form -->
                        <table cellspacing="0" cellpadding="0" border="0" id="id-form">
                        <tr>
			                <th valign="top">ProjectName:</th>
			                <td><%: Html.MyTextBoxFor(m => m.ProjectName) %></td>
                            <td><%: Html.MyValidationMessageFor(m => m.ProjectName) %></td>
		                </tr>
		                <tr>
			                <th valign="top">Description:</th>
			                <td><%: Html.MyTextAreaFor(m => m.Description)%></td>
                            <td><%: Html.MyValidationMessageFor(m => m.Description) %></td>
		                </tr>
                        <tr>
			                <th valign="top">IsActive</th>
			                <td><%: Html.CheckBoxFor(m => m.IsActive, new { @class = "ui-checkbox ui-checkbox-state-checked" })%></td>
                            <td></td>
		                </tr>
	                    <tr>
		                <th>&nbsp;</th>
		                <td valign="top">
			                <input type="submit" class="form-submit" value=""/>
			                <input type="reset" class="form-reset" value=""/>
		                </td>
                        <td></td>
	                    </tr></table>                          
                    <% } %>
                    </td>
                    <td>
                    <div class="margin-padding">
<div id="related-activities">
		
		<!--  start related-act-top -->
		<div id="related-act-top">
		<img height="43" width="271" alt="" src="/Content/images/shared/Helper.png" />
		</div>
		<!-- end related-act-top -->
		
		<!--  start related-act-bottom -->
		<div id="related-act-bottom">
		
			<!--  start related-act-inner -->
			<div id="related-act-inner">
			
				<div class="left"><a href=""><img height="21" width="21" alt="" src="/Content/images/forms/icon_plus.gif"></a></div>
				<div class="right">
					<h5>Attach File To Defect</h5>
					Manager all defects. You can attach new file to ...
					<ul class="greyarrow">
						<li><a href="/Help?Url=/Content/Help/DefectManagement_Help.html-Attachment">Click here to visit</a></li>
					</ul>
				</div>
				
				<div class="clear"></div>
				<div class="lines-dotted-short"></div>
				
				<div class="left"><a href=""><img height="21" width="21" alt="" src="/Content/images/forms/icon_minus.gif"></a></div>
				<div class="right">
					<h5>Change Project Look up</h5>
					Manager all projects. You can change look up of ...
					<ul class="greyarrow">
						<li><a href="/Help?Url=/Content/Help/ProjectGuide.html-Lookups">Click here to visit</a> </li>
					</ul>
				</div>
				
				<div class="clear"></div>
				<div class="lines-dotted-short"></div>
				
				<div class="left"><a href=""><img height="21" width="21" alt="" src="/Content/images/forms/icon_edit.gif"></a></div>
				<div class="right">
					<h5>Export Defects List To File</h5>
					You can export a list of defect to a excel file by ...
					<ul class="greyarrow">
						<li><a href="/Help?Url=/Content/Help/DefectManagement_Help.html-MyDefect">Click here to visit</a> </li>
					</ul>
				</div>
				<div class="clear"></div>
				
			</div>
			<!-- end related-act-inner -->
			<div class="clear"></div>
		
		</div>
		<!-- end related-act-bottom -->
	
	</div>
	<!-- end related-activities -->
</div>
    </td>
                </tr>
                <tr>
                    <td><img height="1" width="695" alt="blank" src="/Content/images/shared/blank.gif"></td>
                    <td></td>
                </tr>
            </table>
 
            <div class="clear"></div>
 

        </div>
        <!--  end content-table-inner  -->
    </td>
    <td id="tbl-border-right"></td>
    </tr>
    <tr>
	    <th class="sized bottomleft"></th>
	    <td id="tbl-border-bottom">&nbsp;</td>
	    <th class="sized bottomright"></th>
    </tr>
</table>

<div class="clear">&nbsp;</div>
</asp:Content>
